package com.byxy.shop.service;

import java.util.List;

import com.byxy.shop.entity.ShoppingCartItem;
import com.byxy.ssm.shop.vo.MyShoppingCartItemVO;

public interface MyShoppingCartService {
	
	/** 根据用户Id获取购物信息 */
	List<MyShoppingCartItemVO> getMyShoppingCartItems(Integer userId);

	/** 总数 */
	Integer cartCount();

	ShoppingCartItem getById(Integer goodsId, Integer cartItemId);

	int save(Integer goodsId, Integer goodsCount, Integer userId);

	int updateCart(ShoppingCartItem sct);

	int deleteById(Integer id);
	

}
